package com.wwj.core.system.entity;


import com.wwj.framework.entity.BaseIdEntity;

/**
 * Created by xya on 16-10-24.
 */
public class UserRole extends BaseIdEntity<Integer> {

    private static final long serialVersionUID = 560628779667639697L;

    private String userId;

    private Integer roleId;

    public UserRole() {
    }

    public UserRole(String userId, Integer roleId) {
        this.userId = userId;
        this.roleId = roleId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
}
